import { Navigate } from "react-router-dom"; 
import Login from "../page/login";
import Zhut from "../page/zhut";
import List from "../page/zhut/List";
import Upload from "../page/zhut/Upload";
import Chart from "../page/zhut/Chart";
import Home from "../page/zhut/Home";
import PL from '../page/pl'
export default [{
    path:'/',
    element:<Navigate to='/login'/>,
    
},{
    path:'/login',
    element:<Login/>
},{
    path:'/zhut',
    element:<Zhut/>,
    children:[{
        path:'/zhut/home',
        element:<Home/>
    },{
        path:'/zhut/list',
        element:<List/>
    },{
        path:'/zhut/upload',
        element:<Upload/>
    },{
        path:'/zhut/chart',
        element:<Chart/>
    }]
},{
    path:'/pl',
    element:<PL/>
}]